//
//  SoundRecordingViewController.h
//  MJAVFoundationDemo
//
//  Created by apple on 16/9/7.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
@interface SoundRecordingViewController : UIViewController
{
    AVAudioRecorder *recorder;           //录音器
    AVAudioPlayer *player;               //播放器
    NSDictionary *recorderSettingsDict;  //装录音器设置的字典
    NSTimer *timer;                      //定时器
    NSMutableArray *volumImages;         //装音量图片的数组
    double lowPassResults;
    NSString *PlayName;                  //录音名字
}
//音量显示图片
@property (weak, nonatomic) IBOutlet UIImageView *soundLoadingImageView;
//播放按钮
@property (weak, nonatomic) IBOutlet UIButton *playBtn;
//按住说话
- (IBAction)beginRecord:(id)sender;
//松开停止
- (IBAction)stopRecord:(id)sender;
//播放录音
- (IBAction)playRecord:(id)sender;

@end
